<?php

// 活动详情

require __DIR__ . '/../../vendor/autoload.php';

$config = [
    'app_key' => 'dd40852919e61940719b28d17028d748',
    'secret' => '9tRwD5pb99hB1ed0u3Mi4lV35Ic96123',
    'baseUrl' => 'http://192.168.28.200:81/www/webroot/api',
];

try {
    $app = \rrx\sdk\Factory::sms($config);
    $res = $app->smsHook('13355556666', '1234');
    dump($res);
} catch (Exception $e) {
    dump($e->getMessage());
}